home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d21
/
dvglue10.arc
/
TVPUTCH.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-08-13
|
1KB
|
29 lines
/*=======================================================*/
/* TVPUTCH.C */
/* */
/* (c) Copyright 1988 Ralf Brown All Rights Reserved */
/* May be freely copied for noncommercial use, so long */
/* as this copyright notice remains intact, and any */
/* changes are marked in the comment blocks preceding */
/* functions. */
/*=======================================================*/
#include "tvapi.h"
/*======================================================*/
/* TVputchar--display a character with given attribute */
/* in a specified window */
/* Ralf Brown 4/2/88 */
/*======================================================*/
void pascal TVputchar(OBJECT win, int c, int attribute)
{
_DX = win ? OBJSEG(win) : OBJSEG(TVobject(ME)) ;
_BH = attribute ;
_BL = c ;
_AX = 0x1003 ;
geninterrupt(0x15) ;
}
/* End of TVPUTCH.C */